//---------------------------------------------------------------------------
#ifndef CPCntPgH
#define CPCntPgH

//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Cadpad.h"
#include "CGAUGES.h"
#include "PHDS.h"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "PHCombo.h"
#include "PHEdit.h"
#include "PHLabel.h"
#include "PHMemo.h"
#include "PHSpdBut.h"

//---------------------------------------------------------------------------
class TCPCntPg1 : public TCadPad1
{
__published:  // IDE-managed Components
  PHLabel*  PHLabel1;
  PHEdit*  PHEdit1;
  PHLabel*  PHLabel2;
  PHEdit*  PHEdit2;
  PHSpeedButton*  PHSpeedButton1;
  PHEdit*  PHEdit3;
  PHLabel*  PHLabel3;
  PHComboBox*  PHComboBox1;
  PHLabel*  PHLabel4;
  PHEdit*  PHEdit4;
  PHLabel*  PHLabel5;
  PHEdit*  PHEdit5;
  PHLabel*  PHLabel6;
  PHEdit*  PHEdit6;
  PHLabel*  PHLabel7;
  PHEdit*  PHEdit7;
  PHLabel*  PHLabel8;
  PHEdit*  PHEdit8;
  PHLabel*  PHLabel9;
  PHEdit*  PHEdit9;
  PHLabel*  PHLabel10;
  PHMemo*  PHMemo1;
 PHLabel *PHLabel11;
 PHEdit *PHEdit10;
 PHLabel *PHLabel12;
 PHEdit *PHEdit11;
 PHLabel *PHLabel13;
 PHComboBox *PHComboBox2;
 PHLabel *PHLabel14;
 PHEdit *PHEdit12;
 PHLabel *PHLabel15;
 PHMemo *PHMemoChaveNFE;
 PHLabel *PHLabel17;
 PHEdit *PHEdit14;
 PHLabel *PHLabel16;
 PHEdit *PHEdit13;
 PHLabel *PHLabel18;
 PHEdit *PHEdit16;
 TSpeedButton *SpeedButton25;
  void __fastcall FormDestroy( TObject* Sender );
  void __fastcall PHDS1BeforePost( TObject* Sender );
  void __fastcall PHDS1BeforeDelete( TObject* Sender );
  void __fastcall PHDS1BeforeEdit( TObject* Sender );
  void __fastcall FormShow( TObject* Sender );
  void __fastcall PHComboBox1Change(TObject *Sender);
 void __fastcall PHDS1AfterRead(TObject *Sender);
 void __fastcall PHComboBox2Change(TObject *Sender);
 void __fastcall PHEdit14Enter(TObject *Sender);
 void __fastcall PHEdit14Exit(TObject *Sender);
 void __fastcall SpeedButton25Click(TObject *Sender);
 void __fastcall PHEdit14KeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift); private: // User declarations
  void __fastcall TrataCampos(void);
 public:  // User declarations
  __fastcall TCPCntPg1( TComponent* Owner );
  int Flag;
  int CodLanAlterar;
};

//---------------------------------------------------------------------------
extern PACKAGE TCPCntPg1*  CPCntPg1;
extern PACKAGE TCPCntPg1*  CPCntPg2;

//---------------------------------------------------------------------------
#endif

